]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Do not set the initial page on construction
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 21 Jan 2020 15:33:28 +0000 (16:33 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 21 Jan 2020 16:58:17 +0000 (16:58 +0000)
It is already scheduled to be set on first map. Doing so here triggers
size and theme node checks the actor tree is not ready for, as the
toplevel actor is not yet attached to the stage.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/943

js/ui/keyboard.js

index 7e7cee21b68c0d93097302673b9ed6a885fbe79d..7f7e8a4e5c9a315c5138a7075058ba1e54cc741a 100644 (file)
@@ -935,7 +935,6 @@ var EmojiSelection = GObject.registerClass({
         this.add_child(bottomRow);
 
         this._curPage = 0;
-        this._emojiPager.setCurrentPage(0);
     }
 
     vfunc_map() {